package demo9;

public class Bird extends Animal implements IFlying,IRunning{
    public Bird(String name) {
        super(name);
    }

    @Override
    public void fly() {
        System.out.println(name +"正在飞！");
    }

    @Override
    public void run() {
        System.out.println(name + "正在跑");
    }
}
